<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="${path}/plugins/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="${path}/css/client/register.css" type="text/css">

    <title>注册</title>
</head>
<body>
<%@ include file="../common/nav1.jsp"%>
    <div class="passport-pageMainCnt"
        style="background-color: #94c0f2;background-image:url('${path}/imgs/login-page-bg.jpg');">
        <div class="w clearFix pr">
            <div class="login-page-title">
                <h1>技能时间共享平台</h1>
                <h2>自由工作&nbsp;&nbsp;合规用人&nbsp;&nbsp;互联网众包一站式解决方案</h2>
            </div>
            <div class="fr  loginBlock base-mr10 xs-Element">
                <form class="layui-form" action="/client/register" method="post">
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <span class="wel">欢迎注册</span><a href="loginView" class="go-login">已有账号,立即登录</a>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <div class="ipt">
                                <i class="layui-icon layui-icon-username"></i>
                                <input type="tel" id="registerPhone" name="username" lay-verify="required|phone" placeholder="请输入您的手机号" onfocus="this.placeholder = ''"
                                       onblur="checkTelephone()" autocomplete="off" class="layui-input">
                            </div>
                            <span class="error-tip" id="error-tip1"></span>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <div class="ipt">
                                <i class="layui-icon layui-icon-password"></i>
                                <input type="password" id="registerPassword" name="password" lay-verify="pass" placeholder="请设置登录密码" onfocus="this.placeholder = ''"
                                       onblur="checkPassword()"
                                       autocomplete="off" class="layui-input">
                            </div>
                            <span class="error-tip" id="error-tip2"></span>
                        </div>
                    </div>
                    <%--<div class="layui-form-item">--%>
                        <%--<div class="layui-inline">--%>
                            <%--<div class="ipt-t">--%>
                                <%--<input type="text" name="name" lay-verify="title" autocomplete="off"--%>
                                       <%--placeholder="请输入用户昵称" onfocus="this.placeholder=''"--%>
                                       <%--onblur="this.placeholder='请输入用户昵称'" class="layui-input">--%>
                            <%--</div>--%>
                        <%--</div>--%>
                    <%--</div>--%>
                    <%--<div class="layui-form-item">--%>
                        <%--<div class="layui-inline">--%>
                            <%--<div class="ipt-t d-code">--%>
                                <%--<input type="text" name="title" lay-verify="title" autocomplete="off"--%>
                                    <%--placeholder="请输入图形验证码" onfocus="this.placeholder=''"--%>
                                    <%--onblur="this.placeholder='请输入图形验证码'" class="layui-input">--%>
                            <%--</div>--%>
                            <%--<div class="get-imgcode"><img src="../imgs/txma.jpg"></div>--%>
                        <%--</div>--%>
                    <%--</div>--%>
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <div class="ipt-t d-code">
                                <input name="verificationCode" id="VerificationCode" type="text" lay-verify="title" autocomplete="off"
                                    placeholder="请输入短信验证码" onfocus="this.placeholder=''"
                                    onblur="this.placeholder='请输入短信验证码'" class="layui-input">
                            </div>
                            <button id="sendButton" type="button" class="layui-btn get-code" onclick="getVerificationCode()">获取动态码</button>
                        </div>
                        <span class="error-tip"id="error-tip3">${codeError}</span>
                    </div>
                    <div class="layui-form-item">
                        <button id="registerButton" type="submit" onclick="checkRegister()" class="layui-btn register-btn" lay-submit="" lay-filter="demo1">立即注册</button>
                    </div>
                    <div class="layui-form-item" pane="">
                        <div class="c-box">
                            <input type="checkbox" onclick="check(this)" lay-skin="primary" title="我已阅读并接受 "
                                checked=""><span class="agreement"><a href="">《闲时网服务协议》</a></span>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <script src="${path}/plugins/layui/layui.all.js" charset="utf-8"></script>
    <script src="${path}/js/client/register.js"></script>


</body>

</html>